package com.liao.domain.strategy.service.rule.chain;

import com.liao.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * @Author long
 * @Description TODO
 * @Date 2024-08-26 11:35
 */
public interface ILogicChain extends ILogicChainArmory{

    /**
     * 责任链接口
     *
     * @param userId     用户ID
     * @param strategyId 策略ID
     * @return 奖品ID
     */
    DefaultChainFactory.StrategyAwardVO logic(String userId, Long strategyId);

}
